package com.niguang.labour.admin.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 'work.v_personSite' is not BASE TABLE
 * </p>
 *
 * @author 
 * @since 2018-06-10
 */
@TableName("work_qiye_site")
public class WorkQiyeSite extends Model<WorkQiyeSite> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
	@TableId(value="id", type= IdType.AUTO)
	private Long id;
	@TableField("qiye_id")
	private Long qiyeId;
    /**
     * 企业名称
     */
	@TableField("qiye_name")
	private String qiyeName;
    /**
     * 工地名称
     */
	@TableField("site_name")
	private String siteName;
    /**
     * 工地位置地区ID
     */
	@TableField("area_city_id")
	private String areaCityId;
    /**
     * 添加工地经纬度地点
     */
	@TableField("site_place")
	private String sitePlace;
    /**
     * 添加工地经纬度
     */
	@TableField("site_latitude")
	private String siteLatitude;
    /**
     * 项目状态 1：进行中 2：已结束
     */
	private Integer status;
	@TableField("create_time")
	private Date createTime;
    /**
     * 是否删除 0-未删除 1-已删除
     */
	@TableField("del_flag")
	private Boolean delFlag;


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getQiyeId() {
		return qiyeId;
	}

	public void setQiyeId(Long qiyeId) {
		this.qiyeId = qiyeId;
	}

	public String getQiyeName() {
		return qiyeName;
	}

	public void setQiyeName(String qiyeName) {
		this.qiyeName = qiyeName;
	}

	public String getSiteName() {
		return siteName;
	}

	public void setSiteName(String siteName) {
		this.siteName = siteName;
	}

	public String getAreaCityId() {
		return areaCityId;
	}

	public void setAreaCityId(String areaCityId) {
		this.areaCityId = areaCityId;
	}

	public String getSitePlace() {
		return sitePlace;
	}

	public void setSitePlace(String sitePlace) {
		this.sitePlace = sitePlace;
	}

	public String getSiteLatitude() {
		return siteLatitude;
	}

	public void setSiteLatitude(String siteLatitude) {
		this.siteLatitude = siteLatitude;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Boolean getDelFlag() {
		return delFlag;
	}

	public void setDelFlag(Boolean delFlag) {
		this.delFlag = delFlag;
	}

	public static final String ID = "id";

	public static final String QIYE_ID = "qiye_id";

	public static final String QIYE_NAME = "qiye_name";

	public static final String SITE_NAME = "site_name";

	public static final String AREA_CITY_ID = "area_city_id";

	public static final String SITE_PLACE = "site_place";

	public static final String SITE_LATITUDE = "site_latitude";

	public static final String STATUS = "status";

	public static final String CREATE_TIME = "create_time";

	public static final String DEL_FLAG = "del_flag";

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "WorkQiyeSite{" +
			"id=" + id +
			", qiyeId=" + qiyeId +
			", qiyeName=" + qiyeName +
			", siteName=" + siteName +
			", areaCityId=" + areaCityId +
			", sitePlace=" + sitePlace +
			", siteLatitude=" + siteLatitude +
			", status=" + status +
			", createTime=" + createTime +
			", delFlag=" + delFlag +
			"}";
	}
}
